using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace Bussiness.Entity
{
                

     public class CmsNewsInfosEntity:AF_ORM.CORE.BaseEntity
    {
         public CmsNewsInfosEntity()
         {
             tableName = "CmsNewsInfos";


			 fieldInfos.Add(new FieldInfo("CmsNewsInfos","Absolute","Absolute","string",512,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("CmsNewsInfos","ContentBody","ContentBody","string",-1,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("CmsNewsInfos","CreatedBy","CreatedBy","string",1000,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("CmsNewsInfos","CreatedDate","CreatedDate","DateTime",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("CmsNewsInfos","History","History","string",-1,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("CmsNewsInfos","Id","Id","Guid",0,true,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("CmsNewsInfos","Lang","Lang","string",5,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("CmsNewsInfos","NewsId","NewsId","Guid",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("CmsNewsInfos","Title","Title","string",512,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("CmsNewsInfos","UpdatedBy","UpdatedBy","string",100,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("CmsNewsInfos","UpdatedDate","UpdatedDate","DateTime",0,false,true,false,false,"","",""));
         }
       //properties
                    
		 protected string m_Absolute;
		 protected string m_ContentBody;
		 protected string m_CreatedBy;
		 protected DateTime m_CreatedDate;
		 protected string m_History;
		 protected Guid m_Id;
		 protected string m_Lang;
		 protected Guid m_NewsId;
		 protected string m_Title;
		 protected string m_UpdatedBy;
		 protected DateTime m_UpdatedDate;

		 public string Absolute

          { 
                get { 
                    return m_Absolute;}

                set{m_Absolute=value;

                    GetField("Absolute").Set();
                    GetField("Absolute").IsNull=(value == null);           
                    }
          }
		 public string ContentBody

          { 
                get { 
                    return m_ContentBody;}

                set{m_ContentBody=value;

                    GetField("ContentBody").Set();
                    GetField("ContentBody").IsNull=(value == null);           
                    }
          }
		 public string CreatedBy

          { 
                get { 
                    return m_CreatedBy;}

                set{m_CreatedBy=value;

                    GetField("CreatedBy").Set();
                    GetField("CreatedBy").IsNull=(value == null);           
                    }
          }
		 public DateTime CreatedDate

          { 
                get { 
                    return m_CreatedDate;}

                set{m_CreatedDate=value;

                    GetField("CreatedDate").Set();
                    GetField("CreatedDate").IsNull=(value == null);           
                    }
          }
		 public string History

          { 
                get { 
                    return m_History;}

                set{m_History=value;

                    GetField("History").Set();
                    GetField("History").IsNull=(value == null);           
                    }
          }
		 public Guid Id

          { 
                get { 
                    return m_Id;}

                set{m_Id=value;

                    GetField("Id").Set();
                    GetField("Id").IsNull=(value == null);           
                    }
          }
		 public string Lang

          { 
                get { 
                    return m_Lang;}

                set{m_Lang=value;

                    GetField("Lang").Set();
                    GetField("Lang").IsNull=(value == null);           
                    }
          }
		 public Guid NewsId

          { 
                get { 
                    return m_NewsId;}

                set{m_NewsId=value;

                    GetField("NewsId").Set();
                    GetField("NewsId").IsNull=(value == null);           
                    }
          }
		 public string Title

          { 
                get { 
                    return m_Title;}

                set{m_Title=value;

                    GetField("Title").Set();
                    GetField("Title").IsNull=(value == null);           
                    }
          }
		 public string UpdatedBy

          { 
                get { 
                    return m_UpdatedBy;}

                set{m_UpdatedBy=value;

                    GetField("UpdatedBy").Set();
                    GetField("UpdatedBy").IsNull=(value == null);           
                    }
          }
		 public DateTime UpdatedDate

          { 
                get { 
                    return m_UpdatedDate;}

                set{m_UpdatedDate=value;

                    GetField("UpdatedDate").Set();
                    GetField("UpdatedDate").IsNull=(value == null);           
                    }
          }

}
}
